package com.atung.model;

import java.io.Serializable;
import java.time.Instant;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("BusSchoolOpenRoute")
public class BusSchoolOpenRoute implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1253348395532877632L;
	
	@ApiModelProperty("开通路线表编号")
	@JsonFormat(shape = JsonFormat.Shape.STRING)	
	private Long id;
	
	@ApiModelProperty("学校标识")
	@JsonFormat(shape = JsonFormat.Shape.STRING)	
	private Long schoolId;
	
	@ApiModelProperty("出发地城市id")
	@JsonFormat(shape = JsonFormat.Shape.STRING)		
	private Long departCityId;
	
	@ApiModelProperty("出发地id")
	@JsonFormat(shape = JsonFormat.Shape.STRING)	
	private Long departlId;
	
	@ApiModelProperty("出发地(名字)")
	private String departlName;
	
	@ApiModelProperty("终点城市id")
	@JsonFormat(shape = JsonFormat.Shape.STRING)	
	private Long destinationCityId;
	
	@ApiModelProperty("终点id")
	@JsonFormat(shape = JsonFormat.Shape.STRING)	
	private Long destinationId;
	
	@ApiModelProperty("目的地(名称)")
	private String destination;
	
	@ApiModelProperty("路线运行状态（0正常1停运）")
	private Integer runningStatus;
	
	@ApiModelProperty(value="是否删除（0正常1删除）",example="0")
	private Integer isDelect;
	
	@ApiModelProperty("创建时间）")
	private Instant creationTime;
	
	@ApiModelProperty("修改时间")
	private Instant modificationTime;
	
	

}
